/*
 * CDNBitStreamExtract.h
 *
 *  Created on: Apr 5, 2012
 *      Author: nikhil
 */

#include<string>
//#include <stdint.h>
#include "Typedefs.h"
//#include "CommonDefs.h"
#define MAX_LAYERS 12


using namespace std;
class CDNBitStreamExtract
{
	public:
	CDNBitStreamExtract();
	~CDNBitStreamExtract();
	int SelectLayerIdstoExtract(char *hdfsFileName);
	char* getOutputFileName(char* ip, UInt ilayerId);
	int simpleRun(char *hdfsFileName);
	int processLayer(int VendorID, char* hdfsfileName, int layerID, int totalLayers, char* edgeserver_host, int edgeserver_port);



public:
	UInt iLayerIds[MAX_LAYERS];
	UInt iNumLayersMinus1;

};
